package com.flowabledemo.dto;

import lombok.Data;

import java.util.List;

@Data
public class TaskParam {

    public TaskParam() {
    }

    public TaskParam(String name, String no, String userType, List<String> userOrRoleIds, String userOrRoleName) {
        this.name = name;
        this.no = no;
        this.userType = userType;
        this.userOrRoleIds = userOrRoleIds;
        this.userOrRoleName = userOrRoleName;
    }

    //节点名称
    private String name;
    //节点编号
    private String no;
    //审核用户类型 用户(user)或角色(role)
    private String userType;
    //审核用户或角色id
    private List<String> userOrRoleIds;
    //用户或角色名称
    private String userOrRoleName;
}